Autogenerated HTML docs for v2.2.0-rc0
diff --git a/git-shell.html b/git-shell.html index ccbf761..ebaac43 100644 --- a/git-shell.html +++ b/git-shell.html
@@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> -<meta name="generator" content="AsciiDoc 8.6.6" /> +<meta name="generator" content="AsciiDoc 8.6.9" /> <title>git-shell(1)</title> <style type="text/css"> /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ @@ -87,10 +87,16 @@ ul > li { color: #aaa; } ul > li > * { color: black; } -pre { +.monospaced, code, pre { + font-family: "Courier New", Courier, monospace; + font-size: inherit; + color: navy; padding: 0; margin: 0; } +pre { + white-space: pre-wrap; +} #author { color: #527bbd; @@ -219,7 +225,7 @@ } div.imageblock div.content { padding-left: 0; } -span.image img { border-style: none; } +span.image img { border-style: none; vertical-align: text-bottom; } a.image:visited { color: white; } dl { @@ -349,7 +355,7 @@ margin-bottom: 0.1em; } -div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 { +div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 { margin-top: 0; margin-bottom: 0; } @@ -407,18 +413,14 @@ span.overline { text-decoration: overline; } span.line-through { text-decoration: line-through; } +div.unbreakable { page-break-inside: avoid; } + /* * xhtml11 specific * * */ -tt { - font-family: monospace; - font-size: inherit; - color: navy; -} - div.tableblock { margin-top: 1.0em; margin-bottom: 1.5em; @@ -452,12 +454,6 @@ * * */ -.monospaced { - font-family: monospace; - font-size: inherit; - color: navy; -} - table.tableblock { margin-top: 1.0em; margin-bottom: 1.5em; @@ -537,6 +533,8 @@ @media print { body.manpage div#toc { display: none; } } + + </style> <script type="text/javascript"> /*<+'])'); + var re = new RegExp('[hH]([1-'+(toclevels+1)+'])'); // Function that scans the DOM tree for header elements (the DOM2 // nodeIterator API would be a better technique but not supported by all // browsers). @@ -610,7 +608,7 @@ var i; for (i = 0; i < toc.childNodes.length; i++) { var entry = toc.childNodes[i]; - if (entry.nodeName == 'div' + if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") && entry.getAttribute("class").match(/^toclevel/)) tocEntriesToRemove.push(entry); @@ -656,7 +654,7 @@ var entriesToRemove = []; for (i = 0; i < noteholder.childNodes.length; i++) { var entry = noteholder.childNodes[i]; - if (entry.nodeName == 'div' && entry.getAttribute("class") == "footnote") + if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote") entriesToRemove.push(entry); } for (i = 0; i < entriesToRemove.length; i++) { @@ -751,8 +749,8 @@ <div class="sectionbody"> <div class="verseblock"> <pre class="content"><em>chsh</em> -s $(command -v git-shell) <user> -<em>git clone</em> <user><tt>@localhost:/path/to/repo.git</tt> -<em>ssh</em> <user><tt>@localhost</tt></pre> +<em>git clone</em> <user><code>@localhost:/path/to/repo.git</code> +<em>ssh</em> <user><code>@localhost</code></pre> <div class="attribution"> </div></div> </div> @@ -763,7 +761,7 @@ <div class="paragraph"><p>This is a login shell for SSH accounts to provide restricted Git access. It permits execution only of server-side Git commands implementing the pull/push functionality, plus custom commands present in a subdirectory -named <tt>git-shell-commands</tt> in the user’s home directory.</p></div> +named <code>git-shell-commands</code> in the user’s home directory.</p></div> </div> </div> <div class="sect1"> @@ -796,9 +794,9 @@ </p> </dd> </dl></div> -<div class="paragraph"><p>If a <tt>~/git-shell-commands</tt> directory is present, <em>git shell</em> will +<div class="paragraph"><p>If a <code>~/git-shell-commands</code> directory is present, <em>git shell</em> will also handle other, custom commands by running -"<tt>git-shell-commands/<command> <arguments></tt>" from the user’s home +"<code>git-shell-commands/<command> <arguments></code>" from the user’s home directory.</p></div> </div> </div> @@ -807,18 +805,18 @@ <div class="sectionbody"> <div class="paragraph"><p>By default, the commands above can be executed only with the <em>-c</em> option; the shell is not interactive.</p></div> -<div class="paragraph"><p>If a <tt>~/git-shell-commands</tt> directory is present, <em>git shell</em> -can also be run interactively (with no arguments). If a <tt>help</tt> -command is present in the <tt>git-shell-commands</tt> directory, it is +<div class="paragraph"><p>If a <code>~/git-shell-commands</code> directory is present, <em>git shell</em> +can also be run interactively (with no arguments). If a <code>help</code> +command is present in the <code>git-shell-commands</code> directory, it is run to provide the user with an overview of allowed actions. Then a "git> " prompt is presented at which one can enter any of the -commands from the <tt>git-shell-commands</tt> directory, or <tt>exit</tt> to close +commands from the <code>git-shell-commands</code> directory, or <code>exit</code> to close the connection.</p></div> <div class="paragraph"><p>Generally this mode is used as an administrative interface to allow users to list repositories they have access to, create, delete, or rename repositories, or change repository descriptions and permissions.</p></div> -<div class="paragraph"><p>If a <tt>no-interactive-login</tt> command exists, then it is run and the +<div class="paragraph"><p>If a <code>no-interactive-login</code> command exists, then it is run and the interactive shell is aborted.</p></div> </div> </div> @@ -828,7 +826,7 @@ <div class="paragraph"><p>To disable interactive logins, displaying a greeting instead:</p></div> <div class="listingblock"> <div class="content"> -<pre><tt>$ chsh -s /usr/bin/git-shell +<pre><code>$ chsh -s /usr/bin/git-shell $ mkdir $HOME/git-shell-commands $ cat >$HOME/git-shell-commands/no-interactive-login <<\EOF #!/bin/sh @@ -836,7 +834,7 @@ printf '%s\n' "provide interactive shell access." exit 128 EOF -$ chmod +x $HOME/git-shell-commands/no-interactive-login</tt></pre> +$ chmod +x $HOME/git-shell-commands/no-interactive-login</code></pre> </div></div> </div> </div>